﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace SqlMonitoring.Client
{
    /// <summary>
    /// Interaction logic for inventoryPage.xaml
    /// </summary>
    public partial class inventoryPage : Page
    {
        public inventoryPage()
        {
            InitializeComponent();
        }

        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            List<Test> lijst = new List<Test>();
            lijst.Add(new Test { Title = "AMSTERDAM", Description = "11.0.2100, Standard Edition" });
            lijst.Add(new Test { Title = "LONDON", Description = "10.50.2500, Standard Edition" });
            lijst.Add(new Test { Title = "ATHENS", Description = "11.0.2100, Standard Edition" });
            lijst.Add(new Test { Title = "MUNICH", Description = "10.0.5000, Standard Edition" });
            lijst.Add(new Test { Title = "PARIS", Description = "9.0.5000, Standard Edition" });
            discoveryListBox.ItemsSource = lijst;
        }
    }

    class Test
    {
        public string Title { get; set; }
        public string Description { get; set; }
    }
}
